package com.example.maomao.myapplication;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

/**
 * Created by maomao on 2017/4/23.
 */
public class PhoneLogin extends AppCompatActivity{
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.phone_login);
        Button btn =(Button)findViewById(R.id.a2);
        Button  btn1=(Button)findViewById(R.id.a3);
        Button  btn2=(Button)findViewById(R.id.a4);
        Button  phoneLogin=(Button)findViewById(R.id.phoneLogin);

        btn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(PhoneLogin.this,MessLogin.class);
                startActivity(intent);
            }
        });

        btn1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(PhoneLogin.this,ForgetPass.class);
                startActivity(intent);
            }
        });

        btn2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(PhoneLogin.this,PhoneRegister.class);
                startActivity(intent);
            }
        });

        phoneLogin.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(PhoneLogin.this,MaoActivity.class);
                startActivity(intent);
            }
        });
    }
}
